services:
  phpmyadmin:
    image: registry.cn-hangzhou.aliyuncs.com/weizhihui/phpmyadmin:5.2.1
    container_name: phpmyadmin
    ports:
      - '9082:80'
    environment:
      - PMA_ARBITRARY=1
      - PMA_HOST={{ mysql.host }}
      - PMA_PORTS={{ mysql.port }}
    networks:
      - monitor

networks:
  monitor:
    external: true
